package com.wgz.flag.mapper;

import com.wgz.flag.entity.GroupChat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface GroupChatMapper {
    void insert(GroupChat groupChat);
    List<GroupChat> selectByUserId(Long userId);
    GroupChat selectById(Long groupId);
    void update(GroupChat groupChat);
    void updateStatus(@Param("groupId") Long groupId, @Param("status") Integer status);
}